/*
 * @Author: your name
 * @Date: 2021-09-05 13:11:49
 * @LastEditTime: 2021-11-15 09:43:59
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \xbsg-platform-ui\src\api\smartParks\property\propertyItems.js
 */
import request from '@/utils/request'
// 查询厂库列表
export function listMaWarehouse(query) {
  return request({
    url: '/park/maWarehouse/list',
    method: 'get',
    params: query
  })
}
// 查询物品出入管理详细
export function getmaInOutRecord(id) {
  return request({
    url: '/park/maInOutRecord/' + id,
    method: 'get'
  })
}

// 新增物品出入管理
export function addmaInOutRecord(data) {
  return request({
    url: '/park/maInOutRecord',
    method: 'post',
    data: data
  })
}

// 修改物品出入管理
export function updatemaInOutRecord(data) {
  return request({
    url: '/park/maInOutRecord',
    method: 'put',
    data: data
  })
}

// 删除物品出入管理
export function delmaInOutRecord(id) {
  return request({
    url: '/park/maInOutRecord/' + id,
    method: 'delete'
  })
}
